package ssm.com.service;

import org.apache.ibatis.annotations.Param;
import ssm.com.pojo.Door;
import ssm.com.pojo.Order;

import java.util.List;

public interface OrderService {
    List<Order> findAllOrderInfo();




    int deleteOrderById(Integer id);


    int add(Order order);


    Order findOrderById(Integer id);
    int doUpdate(Order order);


    int getCount();
    List<Order> findOrderLimit(@Param("pageNum") Integer pageNum,
                               @Param("offSet") Integer offSet);
}
